/*
 * Copyright (C), 2002-2015, 苏宁易购电子商务有限公司
 * FileName: Constants.java
 * Author:   admin
 * Date:     2015年12月22日 下午3:36:26
 * Description: //模块目的、功能描述      
 * History: //修改记录
 * <author>      <time>      <version>    <desc>
 * 修改人姓名             修改时间            版本号                  描述
 */
package com.suning.app.snpaasadmin.util;

import org.apache.http.HttpHost;

/**
 *  定义在该项目中所使用的常量<br> 
 * 〈功能详细描述〉
 *
 * @author admin
 * @see [相关类/方法]（可选）
 * @since [产品/模块版本] （可选）
 */
public interface Constants {
    
    public static final int WORKORDER_UNREAD = 0;
    public static final int WORKORDER_READ = 1;

    public static final int WORKORDER_UNHANDLE = 0;
    public static final int WORKORDER_HANDLE = 1;
    
    public static final int WORKORDER_TYPE_ALL = 0;
    public static final int WORKORDER_TYPE_UNREAD = 1;
    public static final int WORKORDER_TYPE_HANDLEING = 2;
    public static final int WORKORDER_TYPE_CLOSE = 3;
    
    public static final String SQL_ORDERBY = "serial_num";
    public static final int WORKORDER_USER = 0;
    public static final int WORKORDER_CUSTOMER_SERVICE = 1; 
    
    public static String BOSH_AUTHIP = "10.37.1.199";
    public static HttpHost BOSH_AUTHHOST = new HttpHost(BOSH_AUTHIP, 25555, "https");
    public static String BOSH_AUTH_USERNAME = "admin";
    public static String BOSH_AUTH_PASSWORD = "admin";
    
    public static Integer DEFAULT_AMOUNT = 1;
    
    public static final Boolean SERVICE_SSL_ON = true;
    public static final Boolean SERVICE_SSL_OFF = false;
    
    public static final String DATASOURCE_ADMIN = "dataSourceAdmin";
    public static final String DATASOURCE_SERVER = "dataSourceServer";
    
    public static final Integer PAGE_SIZE = 10;
    
    public static final Integer CLUSTER_DEPLOY = 1;
    public static final Integer CLUSTER_UNDEPLOY = 0;
    public static final Integer CLUSTER_ERROR = 2;
    
    public static final String NATS = "nats"; 
    
    public static final Integer CLOUD_CLUSTER = 0;
    public static final Integer MYSQL_CLUSTER = 1;
    
    public static final String BROKER_AUTH_USERNAME = "admin";
    public static final String BROKER_AUTH_PASSWORD = "c1oudc0w";
    
    public static final String MYSQL_RElESE_NAME = "cf-mysql";
    
    public static final Integer TYPE_CF_VERSION = 1;
    public static final Integer TYPE_MYSQL_VERSION = 2;    
    
    public static final String CF_VERSION_NAME = "cf";
    public static final String MYSQL_VERSION_NAME = "cf-mysql";
    
    public static final String SERVICE_BROKER_USAGE = "1";
    public static final String SERVICE_BROKER_UNUSE = "0";
    
    public static final Integer HTTP_302 = 302;
    public static final Integer HTTP_206 = 206;
    public static final Integer HTTP_416 = 416;
    public static final Integer HTTP_404 = 404;
    
    public static final String APP_STOPPED = "STOPPED";
    public static final String APP_STARTED = "STARTED";
    
    public static final Integer STATUS_ENV_STOP = 0;
    public static final Integer STATUS_ENV_START = 1;
    public static final Integer STATUS_ENV_UNUSE = 2;
    
    public static final Integer MYSQL_COUNT = 4;
}
